package com.pan.yu.entity;

import java.io.Serializable;

import org.springframework.data.neo4j.core.schema.Property;
import org.springframework.data.neo4j.core.schema.RelationshipId;
import org.springframework.data.neo4j.core.schema.RelationshipProperties;
import org.springframework.data.neo4j.core.schema.TargetNode;

@RelationshipProperties
public class SchoolRelation implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@RelationshipId
	private Long id;
	
	@Property("name")
	private String name;
	
	@TargetNode
    private Student stu;
	
	
}
